package com.edu.chat.web.controller.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import java.util.List;
import java.util.Map;

/**
 * @program: KQAIA
 * @description:
 * @author: 无恙
 * @create: 2025-04-05 22:38
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SceneVO {

	private Long sceneId;

	/**
	 * 窗口名称
	 */
	@Length(max = 35, message = "窗口名称不能超过35个字符")
	private String sceneName;


	/**
	 * 窗口logo
	 */
	private String sceneLogo;

	/**
	 * 库ID
	 */
	@NotBlank(message = "库ID不能为空")
	@Size(min = 0, max = 3, message = "不能绑定超过3个知识库")
	private List<String> libraryIds;

	/**
	 * 机器人ID
	 */
	@NotBlank(message = "机器人ID不能为空")
	private String robotId;

	/**
	 * 窗口配置
	 */
	private Map<String, String> sceneConfig;

	/**
	 * 窗口描述
	 */
	private String description;

	private Integer status;
}
